package com.cgsrp.cgsrp_shopping.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import com.cgsrp.cgsrp_user_province.domain.User;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Product implements Serializable {
    private Integer id;

    /**
    * 名称
    */
    private String name;

    /**
    * 描述
    */
    private String describe;

    /**
    * 封面图片
    */
    private String coverPath;

    /**
    * 价格
    */
    private BigDecimal price;

    /**
    * 商家id
    */
    private Integer creatBy;

    /**
    * 数量
    */
    private Integer number;


    private Integer state;

    private List<String> photos;

    private List<ProductPhoto> photoList;

    private User user;
}
